package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.PurchaseList;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PurchaseListDao extends BaseMapper<PurchaseList> {
    /**
     * 进货单列表展示（可条件查询：单据号模糊、供应商、是否付款和日期区间）
     * @param purchaseNumber
     * @param supplierId
     * @param state
     * @param sTime
     * @param eTime
     * @return
     */
    List<PurchaseList> selectListOFPurchaseListGoods(@Param("purchaseNumber") String purchaseNumber, @Param("supplierId")Integer supplierId, @Param("state")Integer state, @Param("sTime")String sTime, @Param("eTime")String eTime);
}
